<input (input)="inputIn($event)" type="text" value="" class="ipt" placeholder="搜索你要的商品"/>
<button (click)="searchBtn()" class="btn">搜索</button>
<p (click)="searchBtn()">{{title}}</p>
<!-- <p  (click)="searchBtn()" *ngFor="let item of historyList;let i =index" ngIf="{{title}}">历史记录：{{item}}</p> -->
<div class="box" style="height: calc( 100vh - 50px );overflow-y: scroll;">
  <div *ngFor="let item of searchList"  class="goodsBox" (click)="goDetail(item)">
    <img  class="goodsImage" src="{{item.get('goodsImg')}}"/> 
    <div >
      <div class="goodsTitle">{{item.get("goodsName")}}</div>
      <div class="goodsFeature">{{item.get("goodsDetail")}}</div>
      <div class="goodsPrice">{{item.get("goodsPrice")}}起</div>
    </div>
</div>

</div>

